variable "region" {
  default = "cn-hangzhou"
}

variable "availability_zone" {
  default     = "cn-hangzhou-k"
  description = "可用区"
}

variable "instance_type" {
  default     = "ecs.c6.large"
  description = "ecs 实例规格"
}

variable "image_id" {
  default     = "centos_7_7_x64_20G_alibase_20200426.vhd"
  description = "ecs 镜像id"
}

variable "bandwidth_out" {
  description = "机器带宽，大于1默认分配公网ip"
  default     = 0
}

variable "key_name" {
  default     = "test1_admin"
  description = "配置的公钥名称，请最后加上环境缩写，保持唯一"
}

variable "disk_size" {
  default     = "40"
  description = "磁盘容量"
}

variable "resource_group_id" {
  default     = "test1$"
  description = "资源组名称"
}

variable "instance_names" {
  type    = list(any)
  default = ["mysql", "legoapp"]
}

variable "number_of_instances" { default = 2 }
variable "tags_owner" { default = "wangsu" }
variable "instance_name" {
  type    = string
  default = ""
}
